package com.zh.systemUtils;

import java.io.Serializable;

public class DiskNode implements Serializable {
//	Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
//	sda               0.00     0.16    0.43    2.15     9.07    79.98    69.10     0.00    0.87    0.26    1.00   0.15   0.04
//	dm-0              0.00     0.00    0.41    2.30     8.30    77.67    63.45     0.00    1.44    0.27    1.65   0.14   0.04
//	dm-1              0.00     0.00    0.00    0.00     0.08     0.00    55.07     0.00    0.14    0.14    0.00   0.09   0.00

    private String device;
    private Float rrqmS;
    private Float wrqmS;
    private Float rS;
    private Float wS;
    //private Float rkBs;
    private Float rsecS;
    //private Float wkBs;
    private  Float wsecS;
    private Float avgrqSZ;
    private Float avgquSZ;
    private Float await;
    //private Float rAWAIT;
    //private Float wAWAIT;
    private Float svctm;
    private Float util;


    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public Float getRrqmS() {
        return rrqmS;
    }

    public void setRrqmS(Float rrqmS) {
        this.rrqmS = rrqmS;
    }

    public Float getWrqmS() {
        return wrqmS;
    }

    public void setWrqmS(Float wrqmS) {
        this.wrqmS = wrqmS;
    }

    public Float getrS() {
        return rS;
    }

    public void setrS(Float rS) {
        this.rS = rS;
    }

    public Float getwS() {
        return wS;
    }

    public void setwS(Float wS) {
        this.wS = wS;
    }

    public Float getRsecS() {
        return rsecS;
    }

    public void setRsecS(Float rsecS) {
        this.rsecS = rsecS;
    }

    public Float getWsecS() {
        return wsecS;
    }

    public void setWsecS(Float wsecS) {
        this.wsecS = wsecS;
    }

    public Float getAvgrqSZ() {
        return avgrqSZ;
    }

    public void setAvgrqSZ(Float avgrqSZ) {
        this.avgrqSZ = avgrqSZ;
    }

    public Float getAvgquSZ() {
        return avgquSZ;
    }

    public void setAvgquSZ(Float avgquSZ) {
        this.avgquSZ = avgquSZ;
    }

    public Float getAwait() {
        return await;
    }

    public void setAwait(Float await) {
        this.await = await;
    }

    public Float getSvctm() {
        return svctm;
    }

    public void setSvctm(Float svctm) {
        this.svctm = svctm;
    }

    public Float getUtil() {
        return util;
    }

    public void setUtil(Float util) {
        this.util = util;
    }

    @Override
    public String toString() {
        return "DiskNode{" +
                "device='" + device + '\'' +
                ", rrqmS=" + rrqmS +
                ", wrqmS=" + wrqmS +
                ", rS=" + rS +
                ", wS=" + wS +
                ", rsecS=" + rsecS +
                ", wsecS=" + wsecS +
                ", avgrqSZ=" + avgrqSZ +
                ", avgquSZ=" + avgquSZ +
                ", await=" + await +
                ", svctm=" + svctm +
                ", util=" + util +
                '}';
    }
}
